package cn.com.nes.site.service.crm.order;

import cn.com.nes.mybatis.agent.ope.entity.SalePriceDetail;
import cn.com.nes.site.entity.bo.crm.sale.CopySalePriceDetailBO;
import cn.com.nes.site.service.crm.order.bo.QuerySalePriceDetailBO;
import cn.com.nes.site.service.crm.order.bo.SaleDetailBO;
import cn.com.nes.site.service.crm.order.dto.SalePriceDetailDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SalePriceDetailService  extends IService<SalePriceDetail> {

    /**
     * 复制订单详情
     * @param copySalePriceDetailBO
     * @throws Exception
     */
    void copySalePriceDetail(CopySalePriceDetailBO copySalePriceDetailBO) throws Exception;

    List<SalePriceDetailDTO> getPriceDetails(Long priceMasterId);

    SalePriceDetailDTO saveOrderDetail(SaleDetailBO saleDetailBO) throws Exception;

    /**
     * 查询销售订单设备列表
     */
    List<SalePriceDetailDTO> getPriceDetailList(QuerySalePriceDetailBO queryBO);
}
